package 面试.静态代理;

public class SmsProxy implements SmsService{
    private SmsService smsService;
    public SmsProxy(SmsService smsService){
        this.smsService=smsService;
    }
    @Override
    public String sned(String message) {
        System.out.println("<<<<<<<<<<<<<<<<<<");
        smsService.sned(message);
        System.out.println(">>>>>>>>>>>>>>>>>");
        return null;
    }
}
